#include "ROBOT.h"

void ROBOT::DSP28x_usDelay(unsigned int delay_us)
{
	if(!DelayHandle->Add(Vcm_, Vdf_, delay_us/1000))
	{
		ASSERT("ERROR: delay index overflow");
	}
}

void ROBOT::Wait4msec(unsigned int ms_delay)
{
	if(!DelayHandle->Add(Vcm_, Vdf_, ms_delay))
	{
		ASSERT("ERROR: delay index overflow");
	}
}